module.exports = function(req,res,next){
    if(!req.session.logined || !req.session.loginUser){
        return res.render('login')
    }
    next()
}